package pnu.ssm.controller.factory;

import pnu.ssm.model.command.Command;

// Factory Pattern
public class CommandFactory {
	public static Command create(String commandName){
		Command c = null;
		if(commandName.equals("Bring")){
			c = Command.Bring;
		}else if(commandName.equals("Remove")){
			c = Command.Remove;
		}
		return c;
	}
}
